const express = require('express')

const app = express()

const myBodyParse = require('./13.封装自己的中间件')

app.use(myBodyParse)

app.post('/', function (req, res) {
    res.send(req.body)
})

app.listen(80, () => {
    console.log("server runging at http://127.0.0.1");
})